package com.study.model.pojo.PSIpojo;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the stock_detail database table.
 * 
 */
@Entity
@Table(name="stock_detail")
@NamedQuery(name="StockDetail.findAll", query="SELECT s FROM StockDetail s")
public class StockDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="stodetail_id")
	private int stodetailId;

	@Column(name="goods_num")
	private int goodsNum;

	private String goodsid;

	private int suppid;

	private int warehid;

	public StockDetail() {
	}

	public int getStodetailId() {
		return this.stodetailId;
	}

	public void setStodetailId(int stodetailId) {
		this.stodetailId = stodetailId;
	}

	public int getGoodsNum() {
		return this.goodsNum;
	}

	public void setGoodsNum(int goodsNum) {
		this.goodsNum = goodsNum;
	}

	public String getGoodsid() {
		return this.goodsid;
	}

	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}

	public int getSuppid() {
		return this.suppid;
	}

	public void setSuppid(int suppid) {
		this.suppid = suppid;
	}

	public int getWarehid() {
		return this.warehid;
	}

	public void setWarehid(int warehid) {
		this.warehid = warehid;
	}

}